package org.example.cake.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.stereotype.Component;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Component
public class Orderpayinfo {
    /**
    * 订单支付id
    */
    private Integer payid;

    /**
    * 订单id
    */
    private Integer orderid;

    /**
    * 地址id
    */
    private Integer addressid;

    /**
    * 蛋糕id
    */
    private Integer cakeid;

    /**
    * 配送费
    */
    private Double deliverypay;

    /**
    * 0.可以配送 1.不可以配送
    */
    private Integer deliveryif;

    /**
    * 优惠券
    */
    private Integer discountid;

    /**
    * 备注
    */
    private String remark;

    /**
    * 最后总金额
    */
    private Double countpay;

    /**
    * 根据状态查询优惠券是否可用
    */
    private Integer status;

    /**
     * 获取当前时间
     */
    private String adddate;

    private String ordernum;
    private String address;
    private String cakeName;
    private String money;

    public String getOrdernum() {
        return ordernum;
    }

    public void setOrdernum(String ordernum) {
        this.ordernum = ordernum;
    }

}